home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- ALIASES=_ALIASES_
- SPOOLDIR=_SPOOLDIR_
- MBOXDIVERTDIR=_MBOXDIVERTDIR_
- SPOOLFILE=$MBOXDIVERTDIR/$1.mbox
- BIN=_BIN_
-
- serv=${1:-0}
- pri=${2:-5}
-
- #Fix the aliases file
- if [ $serv = 0 ]; then
- echo "What mbox??"
- exit
- fi
- if [ ! \( -f $ALIASES/$serv.orig \) ]; then
- exit
- fi
-
- mv $ALIASES/$serv.orig $ALIASES/$serv
-
- #Now reprocess through the inqueuer
- $BIN/requeue $SPOOLFILE $BIN/pdinq $SPOOLDIR $pri
-
-